package com.glasses.manage.core.entity;


import com.glasses.manage.core.annotation.Label;

import java.io.Serializable;

/**
 * @描述: 基础实体类，包含各实体公用属性 .
 * @作者 Mr.yy
 * @创建时间 2017/6/14
 * @版本: 1.0
 */
public class BaseEntity implements Serializable {

    @Label("主键ID")
    private Long id;
    @Label("版本号")
    private Integer version = 0;    //版本号
    @Label("是否[逻辑删除]可用：1.可用 0.禁用")
    private String recStatus;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getRecStatus() {
        return recStatus;
    }

    public void setRecStatus(String recStatus) {
        this.recStatus = recStatus;
    }
}

